package com.cans.lightning.business.system.entity;

import com.cans.lightning.base.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import org.beetl.sql.annotation.entity.Column;
import org.beetl.sql.annotation.entity.Table;

/**
 * 数据字典单项
 *
 * @author cans
 * @date 2021-03-29 15:21
 **/
@Getter
@Setter
@Table(name = "sys_dictionary_item")
public class DictionaryItem extends BaseEntity {

    /**
     * 关联主项
     */
    @Column("dictionary_id")
    private String dictionaryId;

    /**
     * 标示
     */
    @Column("label")
    private String label;

    /**
     * 描述
     */
    @Column("value")
    private String value;

    /**
     * 排序号
     */
    @Column("idx")
    private Integer idx;
}
